﻿@model CSharpDay12__Many_to_Many_.Models.Cargoe
<br />

<h1 class="text-center page-header">Add Cargoe</h1>
<div class="container">
    <form method="post" class="well-lg col-sm-8">
        @Html.LabelFor(x => x.Name) <br />
        @Html.TextBoxFor(x => x.Name, new { @class = "form-control" }) <br />
        @Html.LabelFor(x => x.Weight) <br />
        @Html.TextBoxFor(x => x.Weight, new { @class = "form-control" }) <br />
        @Html.LabelFor(x => x.IsPerishable) <br />
        <select class="form-control" name="IsPerishable"><option value="true">Perishable Goods</option><option value="false">Long Haul Commodities</option></select>
        @Html.LabelFor(x => x.CargoeType) <br />
        @Html.EnumDropDownListFor(x => x.CargoeType, new { @class = "form-control" }) <br />
        @Html.HiddenFor(x => x.Id)
        <button type="submit" class="btn-success">Submit</button>
     
    </form>
</div>


<h2>AddCargoe</h2>



